<div ng-controller="storageController">
<!-- contain BEGIN -->
    <div class="right-product right-full animate-time storage" ng-class="{ true: 'right-full', false: 'right-off' }[isActive]">
        <div class="center-back right-back">
        	<ul class="breadcrumb">
		       	<li>
	                <a ui-sref="home">
	                    <img class="breadcrumb-right-img-home" height="20px" src="../images/right-product/home.png">首页
	                </a>
	            </li>
	            <li>
	                <img class="breadcrumb-right-img" src="../images/public/right4.png">
	            </li>
		        <li>
		            <a href="#">产品管理</a>
		        </li>
		        <li>
	                <img class="breadcrumb-right-img" src="../images/public/right4.png">
	            </li>
		        <li>
		            <a href="#" class="active">入库管理</a>
		         </li>
            </ul>
            <div class="button-group clearfix">
            	<div class="button-group-one clearfix row">
            		<div class="col-sm-7">
		                <div class="form-group pull-left form-span col-sm-6">
		                        <span class="pull-left form-span">资源类型：</span>
		                        <select  class="pull-left fill" ng-options="obj.id as obj.name for obj in resTypeList" ng-model="resourcetype">
		                        
		                        <option value="">全部</option>
		                        	
		                        </select>
		                        
		                        
		                      
		                </div>
		                <div class="form-group pull-left form-span col-sm-6">
		                        <span class="pull-left form-span mg-left">导入格式：</span>
		                        <select type="date" class="pull-left fillt"  ng-options="obj.id as obj.name for obj in importList"  ng-model="importtype">
		                        	<option  value="" >全部</option>
									
		                        </select>
		                </div>
		            </div>  
		            <div class="col-sm-5">
		                <div class="form-group pull-right form-span col-sm-6">
	                        <span class="pull-left form-span">入库状态：</span>
	                        <select type="date" class="pull-left fill" ng-options="obj.id as obj.name for obj in inventorysList" ng-model="inventorystatus">
	                        	<option  value="" >全部</option>
								
	                        </select>
	                	</div>
	                	<div class="form-group pull-right form-span col-sm-6">
	                        <span class="pull-left form-span">审核状态：</span>
	                        <select type="date" class="pull-left fill" ng-options="obj.id as obj.name for obj in auditList" ng-model="auditstatus">
	                        	<option  value="" >全部</option>
								
	                        </select>
	                	</div>
                	</div>
                </div>
                <div class="button-group-two row">
                	<div class="col-sm-7 ">
	                	<div class="form-group pull-left form-span col-sm-6">
		                    <span class="pull-left form-span">开始年月：</span>
	 						<input type="date" class="pull-left form-control fill" ng-model="startDate">
		                </div>
		                <div class="form-group pull-left form-span col-sm-6">
		                    <span class="pull-left form-span">至 结束年月：</span>
	 						<input type="date" class="pull-left form-control fillt" ng-model="endDate">
		                </div>
	                </div>
	                <div class="col-sm-5 ">
		                 <div class="input-group pull-right search-width col-sm-12">
						    <input type="text" class="form-control search-input" placeholder="请输入需要检索的内容" ng-model="storages_search">
						    
						   <span class="input-group-addon search-btn" ng-click="searchBtn()">
					          <img src="../images/right-product/search.png">检索
					      </span>
						</div> 
					</div>	
				</div> 
				<div class="button-group-three col-xs-12">
	                <button type="button" class="btn btn-default" ng-click="add()">
	                    <span class="glyphicon glyphicon-plus"></span> 入库
	                </button>
	            </div>    
	        </div>
            <div class="container-fluid">
				<div class="info-center">	
					<div class="contain">
                    	
                    <div class="clearfix"></div>
                    <div class="table-margin">
                        <!-- 表格 BEGIN -->
                        <div class="table-header">
	                        <table class="table table-bordered table-header">
	                            <thead>
	                                <tr>
	                                	<td class="w5 text-center">
	                                        <input type="checkbox" ng-model="master"  class="ng-pristine ng-untouched ng-valid">
	                                    </td>
	                                    <td class="w5 text-center">序号</td>
	                                    <td class="w10 text-center">资源名称</td>
	                                    <td class="w5 text-center">资源类型</td>
	                                    <td class="w5 text-center">导入格式</td>
	                                    <td class="w10 text-center">原数据文件名</td>
	                                    <td class="w10 text-center">录入对象文件名</td>
	                                    <td class="w10 text-center">虚拟目录</td>
	                                    <td class="w10 text-center">录入时间</td>
	                                    <td class="w5 text-center">审核状态</td>
	                                    <td class="w5 text-center">入库状态</td>
	                                    <td class="w5 text-left">操作</td></tr>
	                            </thead>
	                        </table> 
	                    </div>   
	                    <div class="table-body">
	                        <table class="table table-bordered table-header big-picture-table">    
	                            <tbody>
	                                <tr ng-repeat="val in tabVal  | filter:storages_search" ng-class="{'active':$index%2!=0}">
	                                	<td class="w5 text-center">
	                                        <input type="checkbox" ng-model="bool1"  ng-checked="master" />
	                                   </td>
	                                    <td class="w5 text-center">{{ $index+1 }}</td>
	                                    <td class="w10 text-center big-picture-hover">
	                                    	<img height="34px" src="../images/public/test.png">{{val.resourcename}}
	                                    	<div class="big-picture">
	                                    		<img src="../images/public/笑脸.png">
	                                    	</div>
	                                    </td>
	                                    <td class="w5 text-center" ng-bind="val.resourcetype"></td>
	                                    <td class="w5 text-center" ng-bind="val.importtype"></td>
	                                    <td class="w10 text-center" ng-bind="val.sourcedatafilename"></td>
	                                    <td class="w10 text-center" ng-bind="val.objectfilename"></td>
	                                    <td class="w10 text-center" ng-bind="val.virtualdirectory"></td>
	                                    <td class="w10 text-center" ng-bind="val.createdatatime"></td>
	                                    <td class="w5 text-center" ng-bind="val.auditstatus"></td>
	                                    <td class="w5 text-center" ng-bind="val.inventorystatus"></td>
	                                    <td class="w5 text-center icon-td">
	                                        <span class="btn-i" title="详情"  ng-click="details($index)" >
						                    	<img width="14px" src="../images/right-product/view.png">
						                    </span>
	                                    </td>
	                                </tr>
	                            </tbody>
	                        </table>
	                    </div>    
                        <!-- 表格 END -->
                    	
                    </div> 
                </div>
            </div>
        		<div class="info-bottom">
	            	<div  ng-include="'public/tfoot.html'"></div>
	            </div> 
            </div>
    </div>
    	<!--storage-model-->
		<!-- <div  ng-include="'product/storage/add.html'"></div> -->
		<storage-add></storage-add>
		<!--storage-model end-->
		<!--storage-model-->
		<div  ng-include="'product/storage/storage-model.html'"></div>
		<!--storage-model end-->
		<!--storage-model-->
		<div  ng-include="'product/storage/details.html'"></div>
		<!--storage-model end-->
    </div>
<!-- contain END -->
</div>

	
 